<!doctype html>
<html>
<head>
<meta charset="gb2312">
<title>不二——个人博客</title>
<meta name="keywords" content="不二的博客" />
<link href="/Public/Home/css/styles.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="/Public/Home/js/modernizr.js"></script>
<![endif]-->
</head>
<body>
<article>
  <header>
    <div class="toptitle">
      <h1>浣溪沙 梅花夢事</h1>
      <p class="byline">——梅如是</p>
    </div>
    <object id="swftitlebar" data="/Public/Home/images/79514.swf" width="100%" height="220" type="application/x-shockwave-flash">
      <param name="allowScriptAccess" value="always">
      <param name="allownetworking" value="all">
      <param name="allowFullScreen" value="true">
      <param name="wmode" value="transparent">
      <param name="menu" value="false">
      <param name="scale" value="noScale">
      <param name="salign" value="1">
    </object>
    <p class="sign">收我南窗梦一帘,人间故事密封缄。迎将冷淡到江南。 身逐空花归净界,愿随清月落寒潭。红尘隔断两无堪。</p>
  </header>
  <div class="leftbox">
    <div class="vcard box">
      <h2>个人资料</h2>
      <a href="index.php?group=admin&module=privilege&action=login"><img src="/Public/Home/images/180.jpg" class="photo"></a>
      <p class="fn">姓名：杨小杰</p>
      <p class="nickname">昵称：Eagle | 不二</p>
      <p class="url">主页：www.buer.com</p>
      <p class="address">现居：北京市—海淀区</p>
      <p class="role">职业：PHP开发</p>
    </div>
    <div class="blogclass box">
      <h2>博客分类</h2>
      <ul>

        {foreach $cats as $ckey=>$cvalue}
        <li><a href="index.php?module=index&action=catpage&id={$cvalue.cat_id}">{$cvalue.cat_name}</a>（{$cvalue.num}）</li>
        {/foreach}

      </ul>
    </div>
    <div class="friends box">
      <h2>最近访客</h2>
      <ul>
        <li><a href="/"><img src="/Public/Home/images/01.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s3.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s0.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s2.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s5.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s6.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s7.jpg"></a></li>
        <li><a href="/"><img src="/Public/Home/images/s8.jpg"></a></li>
      </ul>
    </div>
  </div>
  <div class="rightbox box">
          <br>
          <h1 class="title" style="font-size:35px;text-align:center;"><a href="index.php?group=home&module=index&action=artpage&id={$avalue.art_id}">{$art.title}</a></h1>
          <ul class="text">
            {$art.content}
          </ul>
          <div class="textfoot"> <a href="index.php?module=index&action=artpage&id={$avalue.art_id}">阅读全文</a><a href="/">评论</a><a href="/">转载</a> </div>


    {foreach $coms as $comk=>$comv}
          <br>
          <div class="pinglun">
            <p><span style="color:red"><b>{$comv.nickname}：</b></span>{$comv.content}</p>
          </div>
    {/foreach}

    <div class="textfoot"></div>
    
    <div class="rightbox">
      <div class="pinglun">
          <h3 class="title">发表评论</h3>
          <form action="" method="post">
              <p>昵称：<input type="text" name="nickname" id=""></p>
              <p>内容：</p>
              <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<textarea name="content" id="" cols="30" rows="10"></textarea></p>
              <p>验证码：<input type="text" name="captcha"><img src="index.php?module=privilege&action=captcha" alt="验证码" onclick="change()" id="captcha"></p>
              <p><input type="submit" value="提交评论"></p>
          </form>
      </div>
    </div>
  </div>
  <div class="blank"></div>
  <div class="Copyright">
    <ul>
      <a href="/">帮助中心</a><a href="/">空间客服</a><a href="/">投诉中心</a><a href="/">空间协议</a>
    </ul>
    <p>Design by DanceSmile</p>
  </div>
</article>
</body>
<script>
  function change(){
    document.getElementById('captcha').src = "index.php?module=privilege&action=captcha&r="+Math.floor(Math.random()*10);
  }
</script>
</html>